package com.adam.management.model;

import lombok.Data;
import org.springframework.security.core.GrantedAuthority;


/**
 * @projectName: adam-management-system
 * @description:
 * @author: Adam
 * @create: 2019-11-02 21:22
 **/

@Data
public class RoleDTO implements GrantedAuthority {

    private Integer id;

    private Integer roleId;

    private String roleName;

    private String operator;

    private String remark;

    private String gmtCreate;

    private String gmtUpdate;

    @Override
    public String getAuthority() {
        return roleName;
    }
}
